package edu.zut.cs.software.perfect.manager.web.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import edu.zut.cs.software.perfect.base.web.spring.controller.GenericController;
import edu.zut.cs.software.perfect.manage.domain.InternalDate;
import edu.zut.cs.software.perfect.manage.service.InternalDateManager;


/**
 * @ClassName InternalDateController
 * @Description TODO
 * @Author wst
 * @Date 2020年6月15日 上午11:32:28
 * @Version 1.0
 */
@Controller
@RequestMapping("/internalDate")
public class InternalDateController extends GenericController<InternalDate,Long,InternalDateManager>{

	InternalDateManager internalDateManager;

	@Autowired
	public void setInternalDateManager(InternalDateManager internalDateManager) {
		this.internalDateManager = internalDateManager;
		this.manager=internalDateManager;
	}
	
	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index() {
		String result = "/internalDate/index";
		return result;
	}
	
	
}
